package com.PAT.UnSatisfying;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/11/29/16:50
 * @Description: 差4分
 * @Target: 在一行中倒着输出 A 和 B 的乘积。
 */
public class 就不告诉你 {
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int M = in.nextInt();
        int N = in.nextInt();

        int sum = M*N;

        String sumS = ""+sum;
        for (int i = sumS.length()-1; i >= 0 ; i--) {
            System.out.print(sumS.charAt(i));
        }
    }
}
